package com.hunt.model.app;

import com.hunt.model.entity.DDXRankingMarket;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;


public class FncWarning implements Comparable<FncWarning> {
    private String Symbol;
    private String StockName;
    private Integer Fnc_type;

    public String getSymbol() {
        return Symbol;
    }

    public void setSymbol(String symbol) {
        Symbol = symbol;
    }

    public String getStockName() {
        return StockName;
    }

    public void setStockName(String stockName) {
        StockName = stockName;
    }

    public Integer getFnc_type() {
        return Fnc_type;
    }

    public void setFnc_type(Integer fnc_type) {
        Fnc_type = fnc_type;
    }

    public String getFnc_name() {
        return Fnc_name;
    }

    public void setFnc_name(String fnc_name) {
        Fnc_name = fnc_name;
    }

    public String getDateTime() {
        return DateTime;
    }

    public void setDateTime(String dateTime) throws ParseException {
        DateTime =  dateTime;
    }

    private String Fnc_name;
    private String DateTime;

    @Override
    public int compareTo(FncWarning o) {
        return o.getSymbol().compareTo(this.getSymbol());
    }
}
